package com.hs.panghu.dao;

import com.hs.panghu.entity.Shop;

import java.util.List;
import java.util.Map;

public interface ShopDao {
    //新增
    public int insertShop(Shop shop);
    //修改
    public int updateShop(Shop shop);
    //删除
    public int deleteShop(Integer shopId);
    //查询
    public Shop selectShop(Integer shopId);
    //分页查询
    public List<Shop> selectShops(Map<String,String> map);
    //分页查询总数
    public int selectShopCount(Map<String,String> map);

}
